package shared;

public class MyData {
	
	public static String name;
	public static String IP;
	public static String port;
	public static int validate=0; // kui 0 siis on seisund "lisamisel", kui "1" siis on accepted ja kui "2" siis permitted
	
	public MyData(String name, String IP, String port){
		
		this.name=name;
		this.IP=IP;
		this.port=port;
	}
	public static String getName(){
		return name;
	}

	public static String getIP(){
		return IP;
	}
	public static String getPort(){
		return port;
	}
	public static String getIpPort(){
		return IP+":"+port;
	}

}
